
#ifndef Lines_TextEntity_h
#define Lines_TextEntity_h

#include "RenderableEntity.h"
#include <string>
#include "Vector3.h"
#include "TextTexture.h"

class TextEntity : public RenderableEntity
{
private:
	bool m_iHAlign;
	bool m_iVAlign;
    bool m_bShadow;
    Vector4 m_cShadowColor;

public:
	TextEntity(const std::string &_sText, const std::string &_sFontName, float _fFontSize, const Vector2 &_vPos, int _iHAlign = 0, int _iVAlign = 2, bool _bBreakLines = false, int _iLineWidth = 640);
	~TextEntity();
	    
    void render();
    void renderTrue();
    
	void setText(const std::string &_sText);
    void setShadow(bool _bShadow = true, Vector4 _cColor = COLOR_BLACK);
    
    Vector2 getTextSize();
};

#endif
